            <?php
            	if(wp_verify_nonce($_POST['act_highlandtour_comment'],'act_highlandtour_comment'))
            	{
            		// nhận dữ liệu POST								
            		$error_ct = db_process_comment($_POST,$type);	
            	}	
            	else 
            	{
            		$_SESSION['contact'] = null;
            	}
            ?>								
			<div class="linecomment"></div>
                    <form action="" method="post">
                    	<p>
	                    	<label for="fullname" class="labelfirst" >Your name: </label>
	                    		<input type="text" value="" id="fullname" name="fullname">
	                    		<label id="contact_error_fullname" class="contact_error">*</label>
                    		
						<label for="company" class="labellast">Email: </label>
						<input type="text" id="email" name="email">
						<label id="contact_error_email" class="contact_error">*</label>
					</p>
						
                    <p>
                   		<label for="fullname" class="labelfirst">&nbsp;</label>Please enter the security code above <span class="red">*</span>
                   	</p>
                    <p>
                    	<img src="<?php bloginfo('template_url')?>/incs/captcha/index.php" class="captcha" alt="">
                    	<input type="text" class="textcaptcha" id="captcha" name="captcha">
                    	<label id="contact_error_captcha" class="contact_error">*</label>
                    </p>	                    	
                    	
                    <p>
	                    <label for="fullname" class="labelfirst">Comment: </label>
						<textarea cols="" rows="" name="message" id="message"></textarea>
						<label id="contact_error_message" class="contact_error">*</label>
                    </p>
                    <p style="color: red; text-align: center;">
                    
                    	<?php
                        if($error_ct)
                        {
                        	foreach ($error_ct as $value)
                        	{
                        		echo $value.'<br/>';	
                        	}
                         }
                    	?>
                    </p>
                    <p>
                    	<input type="submit" value="Send" name="tour_comment_submit" id="tour_comment_submit">
                    </p>
                    <?php wp_nonce_field('act_highlandtour_comment','act_highlandtour_comment');?>
                    </form>	

